package handler

import (
	"server/framework/web/context"
	"server/framework/web/middleware"
)

type Routable interface {
	Route(method string, pattern string, handleFunc middleware.HandleFunc)
}

type Handler interface {
	ServeHTTP(c *context.Context)
	Routable
}
